import javazoom.jl.decoder.JavaLayerError;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.Player;
import player.MyPlayer;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Test {
    public static void main(String[] args) throws FileNotFoundException, JavaLayerException {
        String song[]={"./music/Ofenbach - You Don't Know Me.mp3",
                "./music/万茜-认真地老去.mp3",
                "./music/KEY.L刘聪,Kafe.Hu - 经济舱.mp3",
                "./music/夏日入侵企画 - 人生浪费指南.mp3"};

        for(int i=0;i<=3;i++) {
            MyPlayer player = new MyPlayer(song[i]);
            player.play();
        }
    }
}
